using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SCSEngine.Utils.Entities.Component.Number
{
    public class AngleComponent : INumberComponent
    {
        private IVector2Component direction;

        public AngleComponent(IVector2Component direction)
        {
            this.direction = direction;
        }

        public float Value
        {
            get
            {
                return this.direction.Angle;
            }
            set
            {
                this.direction.Angle = value;
            }
        }

        public void Initialize()
        {
        }
    }
}
